#!/bin/sh

i=0

while (( $i <1600 )) 
do

    echo $i
    cat >>batchinputs.txt <<EOF
>test$i
tagtagtagt
EOF
    i=`expr $i + 1`

done

